package com.cykj.user.domain;

import com.cykj.common.core.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;
/**
 * @BelongsProject: Cykj-Order-System
 * @BelongsPackage: com.cykj.user.domain
 * @Author: 阿强
 * @CreateTime: 2025-08-19 02:15
 * @Description: TODO
 * @Version: 1.0
 */

 // 用户申诉对象 system_ct_complaint

public class SystemCtComplaint
{
    private static final long serialVersionUID = 1L;

    /** 申诉ID */
    private Long complaintId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long customerId;

    /** 用户名字 */
    @Excel(name = "用户名字")
    private String name;

    /** 申诉理由 */
    @Excel(name = "申诉理由")
    private String complaintReason;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Long orderId;

    /** 处理方案 */
    @Excel(name = "处理方案")
    private String solution;

    /** 申诉时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申诉时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date complaintTime;

    /** 申诉状态(0待处理1已处理2已驳回) */
    @Excel(name = "申诉状态(0待处理1已处理2已驳回)")
    private Long status;

    public void setComplaintId(Long complaintId)
    {
        this.complaintId = complaintId;
    }

    public Long getComplaintId()
    {
        return complaintId;
    }

    public void setCustomerId(Long customerId)
    {
        this.customerId = customerId;
    }

    public Long getCustomerId()
    {
        return customerId;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }

    public void setComplaintReason(String complaintReason)
    {
        this.complaintReason = complaintReason;
    }

    public String getComplaintReason()
    {
        return complaintReason;
    }

    public void setOrderId(Long orderId)
    {
        this.orderId = orderId;
    }

    public Long getOrderId()
    {
        return orderId;
    }

    public void setSolution(String solution)
    {
        this.solution = solution;
    }

    public String getSolution()
    {
        return solution;
    }

    public void setComplaintTime(Date complaintTime)
    {
        this.complaintTime = complaintTime;
    }

    public Date getComplaintTime()
    {
        return complaintTime;
    }

    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("complaintId", getComplaintId())
                .append("customerId", getCustomerId())
                .append("name", getName())
                .append("complaintReason", getComplaintReason())
                .append("orderId", getOrderId())
                .append("solution", getSolution())
                .append("complaintTime", getComplaintTime())
                .append("status", getStatus())
                .toString();
    }
}
